package com.example.demo.nuoqi.service;

import com.example.demo.nuoqi.pojo.Problemmanagement;
import com.github.pagehelper.PageInfo;

import java.util.List;

/****
 * @Author:shenkunlin
 * @Description:Problemmanagement业务层接口
 * @Date 2019/6/14 0:16
 *****/
public interface ProblemmanagementService {

    /***
     * Problemmanagement多条件分页查询
     * @param problemmanagement
     * @param page
     * @param size
     * @return
     */
    PageInfo<Problemmanagement> findPage(Problemmanagement problemmanagement, int page, int size);

    /***
     * Problemmanagement分页查询
     * @param page
     * @param size
     * @return
     */
    PageInfo<Problemmanagement> findPage(int page, int size);

    /***
     * Problemmanagement多条件搜索方法
     * @param problemmanagement
     * @return
     */
    List<Problemmanagement> findList(Problemmanagement problemmanagement);

    /***
     * 删除Problemmanagement
     * @param id
     */
    void delete(Integer id);

    /***
     * 修改Problemmanagement数据
     * @param problemmanagement
     */
    void update(Problemmanagement problemmanagement);

    /***
     * 新增Problemmanagement
     * @param problemmanagement
     */
    void add(Problemmanagement problemmanagement);

    /**
     * 根据ID查询Problemmanagement
     * @param id
     * @return
     */
     Problemmanagement findById(Integer id);

    /***
     * 查询所有Problemmanagement
     * @return
     */
    List<Problemmanagement> findAll();
}
